package com.hotspot.chartview.model;

/**
 * 折线图中显示数据的model
 * 
 * @author BaiYuliang
 */
public class LineChartData {

    public int index; // 索引值
    public String title; // 一级标题
    public String subtitle; // 二级标题
    public float height; // 高度

    public LineChartData(int index, String title, String subtitle, float height) {
        this.index = index;
        this.title = title;
        this.subtitle = subtitle;
        this.height = height;
    }

    @Override
    public String toString() {
        return "LineChartData [index=" + index + ", title=" + title + ", subtitle=" + subtitle
                + ", height=" + height + "]";
    }

}
